#!/bin/sh
docker stop nginx-test &&  \
docker rm nginx-test && \
docker run -itd \
        --name nginx-ssl \
        -p 443:443\
        -v /usr/local/nginx/html:/usr/share/nginx/html \
        -v /usr/local/nginx/demd:/usr/share/nginx/demd \
        -v /usr/local/nginx/config/nginx.conf:/etc/nginx/nginx.conf \
        -v /usr/local/nginx/config/conf.d/default.conf:/etc/nginx/conf.d/default.conf \
        -v /usr/local/nginx/logs:/var/log/nginx \
        -v /usr/local/nginx/ssl:/ssl \
        -d nginx:1.22

# 以443为端口的https访问
